package com.jade.zsy.inventory.entity;

import com.jade.bss.db.IdEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: jinya
 * Date: 2017/6/3
 * Time: 14:04
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@Data
@Entity
@Table(name = "ZSY_INV_ADJUST")
public class Adjust extends IdEntity {
    @Column(name = "receiptKey", nullable = true,updatable = true)
    private String receiptKey;  // 入库编号
    @Column(name = "skuId", updatable = false, nullable = false, length = 100)
    private String skuId; /** 商品编号 **/
    @Column(name = "skucode", updatable = false, nullable = false, length = 100)
    private String skucode; /** 货号 **/
    @Column(name = "warehouseId", updatable = false, nullable = false, length = 100)
    private long warehouseId; /** 仓库编号 **/
    @Column(name = "warehouseCode", updatable = false, nullable = false, length = 100)
    private String warehouseCode; /** 仓库编号 **/
    @Column(name = "price", updatable = false, nullable = false, length = 100)
    private float price;/** 成本价 **/
    @Column(name = "qty", updatable = false, nullable = false, length = 100)
    private int qty;/** 数量 **/

    @Column(name = "unitId", nullable = false,updatable = true)
    private long unitId=0;/**商品计量单位*/
    @Column(name = "unit", nullable = false,updatable = true)
    private String unit;/**商品计量单位*/
    @Column(name = "skuSpec", nullable = true,updatable = true)
    private String skuSpec;/**商品属性描述*/
    @Column(name = "skuSpecId01", nullable = false,updatable = true)
    private long skuSpecId01=0;/**商品属性*/
    @Column(name = "skuSpecId02", nullable = false,updatable = true)
    private long skuSpecId02;/**商品属性*/
    @Column(name = "skuSpecId03", nullable = false,updatable = true)
    private long skuSpecId03;/**商品属性*/
    @Column(name = "skuSpecId04", nullable = false,updatable = true)
    private long skuSpecId04;/**商品属性*/
    @Column(name = "skuSpecId05", nullable = false,updatable = true)
    private long skuSpecId05;/**商品属性*/
    @Column(name = "skuSpecId06", nullable = false,updatable = true)
    private long skuSpecId06;/**商品属性*/
    @Column(name = "skuSpecId07", nullable = false,updatable = true)
    private long skuSpecId07;/**商品属性*/
    @Column(name = "skuSpecId08", nullable = false,updatable = true)
    private long skuSpecId08;/**商品属性*/
    @Column(name = "skuSpecId09", nullable = false,updatable = true)
    private long skuSpecId09;/**商品属性*/
    @Column(name = "skuSpecId10", nullable = false,updatable = true)
    private long skuSpecId10;/**商品属性*/

    @Column(name = "userDef01", nullable = true,updatable = true)
    private String userDef01;/**用户自定义*/
    @Column(name = "userDef02", nullable = true,updatable = true)
    private String userDef02;/**用户自定义*/
    @Column(name = "userDef03", nullable = true,updatable = true)
    private String userDef03;/**用户自定义*/
    @Column(name = "userDef04", nullable = true,updatable = true)
    private String userDef04;/**用户自定义*/
    @Column(name = "userDef05", nullable = true,updatable = true)
    private String userDef05;/**用户自定义*/
    @Column(name = "userDef06", nullable = true,updatable = true)
    private String userDef06;/**用户自定义*/
    @Column(name = "userDef07", nullable = true,updatable = true)
    private String userDef07;/**用户自定义*/
    @Column(name = "userDef08", nullable = true,updatable = true)
    private String userDef08;/**用户自定义*/
    @Column(name = "userDef09", nullable = true,updatable = true)
    private String userDef09;/**用户自定义*/
    @Column(name = "userDef10", nullable = true,updatable = true)
    private String userDef10;/**用户自定义*/


}
